Skip to main content

cardNames

Type

property

Summary

Lists the short name property of all the cards in a stack, or all the cards that contain a specified group.

Syntax

get the cardNames of {group | stack}

Description

Use the cardNames property to list the cards in a stack.

Each line of the cardNames contains the short name of a card.

The cardNames of a group only reports card names for top-level groups (that is, groups that are not contained in another group). The cardNames property of a nested group always reports empty.

Examples

put line 1 of the cardNames of this stack into firstCard
go card (line x of the cardNames of group "Stats")

message: nameChanged

object: card, stack

property: name

command: group

glossary: property, nest, group

keyword: card, line

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?